package demo1;

import java.util.concurrent.Callable;

public class CoolBoy {
    //普通成员变量
    private String name;
    private int age;
    public int high;

    public CoolBoy() {
        System.out.println("dasdsad");
    }

    public CoolBoy(String name, int age, int high) {
        this.name = name;
        this.age = age;
        this.high = high;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    //普通成员方法
    public void singSong() {
        System.out.println(this.name + "在唱歌！");
    }
    public void func() {
        CoolBoy coolBoy = new CoolBoy();
    }
}
